/**
 * 作者：陈文斌 on 2019/1/5.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:json_annotation/json_annotation.dart';
import 'package:crm/model/ClientManager/client_info_model.dart';

part 'package:crm/model/MarketSituation/market_situation_info_model.g.dart';

@JsonSerializable()
class MarketSituationInfoModel extends Object with _$MarketSituationInfoModelSerializerMixin {
  int companyScale;
  String companyWebsites;
  String customerGroup;
  String customerId;
  List<ClientInfoModel> customers;
  String direction;
  String id;
  String marketCompanyId;
  String marketCreateEmployeeId;
  String marketCreateTimeUtc;
  String marketForeign;
  String marketHome;
  String marketModifyEmployeeId;
  String marketModifyTimeUtc;
  int salesteamScale;

  MarketSituationInfoModel(
    this.companyScale,
    this.companyWebsites,
    this.customerGroup,
    this.customerId,
    this.customers,
    this.direction,
    this.id,
    this.marketCompanyId,
    this.marketCreateEmployeeId,
    this.marketCreateTimeUtc,
    this.marketForeign,
    this.marketHome,
    this.marketModifyEmployeeId,
    this.marketModifyTimeUtc,
    this.salesteamScale,
  );

  @override
  factory MarketSituationInfoModel.fromJson(Map<String, dynamic> json) => _$MarketSituationInfoModelFromJson(json);
}
